package utils

import (
	"github.com/shirou/gopsutil/load"
)

func CurrentLoad() float64 {
	info, _ := load.Avg()
	return (info.Load1 + info.Load5 + info.Load15) / 3
}
